-
-
Notifications
You must be signed in to change notification settings - Fork 344
chore: update to firebase 8x #940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Any idea when/if this will be merged? I just updated the Nuxt Firebase module which has firebase v8 as a requirement. |
Codecov Report
@@ Coverage Diff @@
## master #940 +/- ##
=======================================
Coverage 94.89% 94.89%
=======================================
Files 14 14
Lines 372 372
Branches 64 64
=======================================
Hits 353 353
Misses 1 1
Partials 18 18
Continue to review full report at Codecov.
|
Hello, summary content:
that all. minor:
|
For this PR, i trusted the tests to validate that it has no regression. My error: I tried a quick fix: function isDocumentRef(o) {
// return (o && o.onSnapshot)
return (o && o.firestore)
}
// ...
function recursiveExtract(...){
// ...
if (isDocumentRef(ref)) {
ref = ref.firestore.app.firestore().doc(ref.path) This looks ok, but I don't see any changes in the Firebase release note that might explain this. I'm not sure how to install it locally.
@postva: this installation sounds good to you or you see some side effects which may explain this error ? @glemmatim: Could you test on your side ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Can you remove the version changes? That will be done separately.
People recently reported some bugs with Firebase 8 but there doesn't seem to be any change in the code so I think something that is mocked from Firebase has changed in v8. I'm concerned this could be a breaking change too and might need to release in a v3 of vuefire
Edit: as you mentioned, it's the onSnapshot
function not existing anymore. Will have to do more research
Created firebase/firebase-js-sdk#4134 to know more about it since we don' have access to |
Apparently it's being tracked at firebase/firebase-js-sdk#4125 |
My last test with [email protected] is OK. The bug without I also deleted the changes in the versions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
How can I upgrade my vuefire package to the latest that uses firebase v8 |
Change the version of VueFire in |
|
@mfissehaye - I see you now discovered 2.2.5! Sorry about the confusion. For future reference, I recommend the following (instead of trusting me!) - it automatically bumps your
I do recommend some caution; it will update major versions (which might include breaking changes). I usually review the |
I am still getting error
Here is the vuexfire code
Note: I am subscribing to a sub collection. |
No description provided.